[digiplex] Handle erroneous responses and restart the bridge#18035
[digiplex] Handle erroneous responses and restart the bridge#18035jlaur merged 2 commits intoopenhab:mainfrom
Conversation
|
@jlaur This is a compilation of my and your changes (including your test file). |
988fc3b to
cb228c4
Compare
Signed-off-by: Robert Michalak <rbrt.michalak@gmail.com>
cb228c4 to
1853520
Compare
...iplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexBridgeHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Robert Michalak <rbrt.michalak@gmail.com>
e275b75 to
76165e8
Compare
|
@rmichalak this is marked as draft, is it ready to review and merge or are you waiting for something else? |
See #18035 (comment). So it should be ready for review, but is still under test. |
lsiepel
left a comment
There was a problem hiding this comment.
Thanks, LGTM.
Let's wait for test confirmation.
|
Okay, so I've just encountered a first malformed response: The good news is that the fix works (restarts the connection as expected), so we can merge it. I will keep checking for these malformed messages as perhaps it's not necessary to restart the connection in each case. But that's a separate task. |
…#18035) Signed-off-by: Robert Michalak <rbrt.michalak@gmail.com>
…#18035) Signed-off-by: Robert Michalak <rbrt.michalak@gmail.com> Signed-off-by: Christian Koch <78686276+chilobo@users.noreply.github.com>
…#18035) Signed-off-by: Robert Michalak <rbrt.michalak@gmail.com>
Better handling of erroneous messages that may be received from the alarm system.
Based on the behavior of my alarm system, in case of an erroneous message there's only one way to restore proper communication: restart the bridge connection.
Supersedes: #17829 #17864
Closes #17828